﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities.Auditing;
using Rcompany.Type;

namespace Rcompany.Model
{
    /// <summary>
    /// 进项发票
    /// </summary>
    public class InputInvoice:AuditedAggregateRoot<Guid>
    {
        //protected
        public string InputNo { get; set; }//发票号
        public string InputOffice { get; set; }//发票名称
        public InputInvoiceType InputType { get; set; } //发票类型
        [Column(TypeName = "decimal(18,2)")]
        public decimal InputMoney { get; set; }//发票金额
        public int InputRate { get; set; }//税率
        [Column(TypeName = "decimal(18,2)")]
        public decimal InputTax { get; set; }//税额
        public DateTime Inputtime { get; set; }//开票时间
        public string InputNote { get; set; }//备注
        public string InputHandler { get; set; }//制单人
        public DateTime InputCreatingTime { get; set; }//创造时间
        public string MyProperty { get; set; }//备用



    }
}
